package com.jeecg.p3.system.order.entity;

import com.jeecg.p3.system.base.BaseEntity;

/**
 * @author lzx  订单商品详情表1
 * @create 2020-12-01 15:25
 */
public class ProductDetails extends BaseEntity {

    /** 订单Id **/
    private String orderId;
    /** 订单号 (冗余)**/
    private String orderNo;
    /** 优惠劵Id**/
    private String couponId;

    /** 用户唯一标识 **/
    private String openId;
    /** 产品id **/
    private String productId;
    /** 产品名称 (冗余)**/
    private String productName;
    /** 是否可用 0不可用 1可用 **/
    private Integer useStatus;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getUseStatus() {
        return useStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.useStatus = userStatus;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public ProductDetails(String orderId, String orderNo, String couponId, String openId, String productId, String
            productName, Integer useStatus) {
        this.orderId = orderId;
        this.orderNo = orderNo;
        this.couponId = couponId;
        this.openId = openId;
        this.productId = productId;
        this.productName = productName;
        this.useStatus = useStatus;
    }

    public ProductDetails() {
    }
}
